var common = require('../../utils/common');
Page({
  data: {
    orderId: "",
    orderInfo: ''
  },
  onLoad(options) {
    console.log(options)
    this.getRefundDetail(options.orderid)
  },
  callServer() {
    wx.makePhoneCall({
      phoneNumber: common.serverTel
    })
  },
  getRefundDetail(orderId) {
    common.getRefundDetail(orderId).then(res => {
      this.setData({
        orderInfo: res.data
      })
    })
  }
})